package com.yidu.sanrenxing.crudall.service.impl;

import com.yidu.sanrenxing.crudall.dao.KeepsetSerRelMapper;
import com.yidu.sanrenxing.crudall.domain.KeepsetSerRel;
import com.yidu.sanrenxing.crudall.service.KeepsetSerRelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KeepsetSerRelServiceImpl implements KeepsetSerRelService {
    @Autowired
    KeepsetSerRelMapper keepsetSerRelMapper;
    @Override
    public List<KeepsetSerRel> selectAll() {
        return keepsetSerRelMapper.selectAll();
    }

    @Override
    public List<Integer> selectByComSerId(int comserid) {
        return keepsetSerRelMapper.selectByComSerId(comserid);
    }

    @Override
    public int deleteByPrimaryKey(int keepsetserrelid) {
        return keepsetSerRelMapper.deleteByPrimaryKey(keepsetserrelid);
    }

    @Override
    public int insert(KeepsetSerRel record) {
        return keepsetSerRelMapper.insert(record);
    }

    @Override
    public int insertSelective(KeepsetSerRel record) {
        return keepsetSerRelMapper.insertSelective(record);
    }

    @Override
    public KeepsetSerRel selectByPrimaryKey(int keepsetserrelid) {
        return keepsetSerRelMapper.selectByPrimaryKey(keepsetserrelid);
    }

    @Override
    public int updateByPrimaryKeySelective(KeepsetSerRel record) {
        return keepsetSerRelMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(KeepsetSerRel record) {
        return keepsetSerRelMapper.updateByPrimaryKey(record);
    }
}
